package com.ld.poetry.aigc.codegeex.gclu.codegenerate;

public class Security {
    private int securityID;
    private String securityName;
    private java.sql.Date tradingDate;
    private int CSRCIndustryTypeID;
    private double tradingPrice;

    // 根据SQL语句实现构造函数
    public Security(int securityID, String securityName, java.sql.Date tradingDate, int CSRCIndustryTypeID, double tradingPrice) {
        this.securityID = securityID;
        this.securityName = securityName;
        this.tradingDate = tradingDate;
        this.CSRCIndustryTypeID = CSRCIndustryTypeID;
        this.tradingPrice = tradingPrice;
    }

    // Getter and Setter methods for each field
    public int getSecurityID() {
        return securityID;
    }

    public void setSecurityID(int securityID) {
        this.securityID = securityID;
    }

    public String getSecurityName() {
        return securityName;
    }

    public void setSecurityName(String securityName) {
        this.securityName = securityName;
    }

    public java.sql.Date getTradingDate() {
        return tradingDate;
    }

    public void setTradingDate(java.sql.Date tradingDate) {
        this.tradingDate = tradingDate;
    }

    public int getCSRCIndustryTypeID() {
        return CSRCIndustryTypeID;
    }

    public void setCSRCIndustryTypeID(int CSRCIndustryTypeID) {
        this.CSRCIndustryTypeID = CSRCIndustryTypeID;
    }

    public double getTradingPrice() {
        return tradingPrice;
    }

    public void setTradingPrice(double tradingPrice) {
        this.tradingPrice = tradingPrice;
    }
}